package com.myopen.kit;

import javax.servlet.http.HttpServletRequest;

/**
 * request类
 * @author wangsanfei
 *
 */
public class RequestKit {

	private static ThreadLocal<HttpServletRequest> tl = new ThreadLocal<>();

	public static void put(HttpServletRequest request) {
		tl.set(request);
	}
	
	public static ThreadLocal<HttpServletRequest> getTl() {
		return tl;
	}

	public static void setTl(ThreadLocal<HttpServletRequest> tl) {
		RequestKit.tl = tl;
	}

}
